package gateway;

import gateway.config.LoadBalancerConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClients;

import java.time.ZonedDateTime;

@SpringBootApplication
@EnableDiscoveryClient
@LoadBalancerClients(defaultConfiguration = LoadBalancerConfig.class)
//@LoadBalancerClients({
//        @LoadBalancerClient(value = "springcloud-nacos-provider",configuration = LoadBalancerConfig.class)
//})
public class SpringcloudNacosGateway9001Application {


    public static void main(String[] args) {
        SpringApplication.run(SpringcloudNacosGateway9001Application.class, args);

//        System.out.println(ZonedDateTime.now());
    }


}
